package com.eduction.modules.system.entity;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.GenerationType;
import javax.persistence.Id;
import javax.persistence.Table;

/*************组****************/

@Table(name = "t_group")
@Entity
public class Group {

	private String pid;//
	private String s_name;//组名
	private String s_state;//状态 0-未开始,1-开始,3-结束
	private String s_type;//类型 1-材料 2-现场
	private String s_create_time;//
	
	@Id
	@GeneratedValue(strategy=GenerationType.AUTO)
	@Column(name = "p_id")
	public String getPid() {
		return pid;
	}
	@Column(name = "s_name")
	public String getS_name() {
		return s_name;
	}
	@Column(name = "s_state")
	public String getS_state() {
		return s_state;
	}
	@Column(name = "s_type")
	public String getS_type() {
		return s_type;
	}
	@Column(name = "s_create_time")
	public String getS_create_time() {
		return s_create_time;
	}
	public void setPid(String pid) {
		this.pid = pid;
	}
	public void setS_name(String s_name) {
		this.s_name = s_name;
	}
	public void setS_state(String s_state) {
		this.s_state = s_state;
	}
	public void setS_type(String s_type) {
		this.s_type = s_type;
	}
	public void setS_create_time(String s_create_time) {
		this.s_create_time = s_create_time;
	}
	
	
}
